﻿<%@ Page Title="Nhập Phiếu xuất kho" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PhieuXuatKhoNew.aspx.cs" Inherits="QuanLyHopDong.Web.HopDong.PhieuXuatKhoNew" %>
<%@ Import Namespace="Resources" %>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Nhập Phiếu xuất kho</h2>
    <p></p>
    <span class="failureNotification">
        <asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal></span>
    <div>
        <table>
            <tr>
                <td>
                    <b>Số HĐ:</b>
                    <asp:Literal ID="ltrSoHopDong" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    <b>Đơn vị ký HĐ:</b>
                    <asp:Literal ID="ltrTenDonVi" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    <b>Loại dự án:</b>
                    <asp:Literal ID="ltrLoaiDuAn" runat="server"></asp:Literal>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <p>
            <label>Số phiếu xuất kho:</label>
            <asp:TextBox ID="txtSoPhieu" runat="server" CssClass="textEntry name validate[required]"></asp:TextBox>
        </p>
        <p>
            <label>Ngày CT:</label>
            <asp:TextBox ID="txtNgayChungTu" runat="server" CssClass="textEntry date datepicker"></asp:TextBox>
        </p>
        <p>
            <label>Phiếu xuất kho:</label>
            <asp:FileUpload ID="filePhieuXuatKho" runat="server" />
        </p>
        <p>
            <label>Khối lượng vật tư thi công sơ bộ:</label>
            <asp:FileUpload ID="fileBienBanBanGiao" runat="server" />
        </p>
        <p>
            <label>Ghi chú:</label>
            <asp:TextBox ID="txtGhiChu" runat="server" TextMode="MultiLine" CssClass="textEntry description"></asp:TextBox>
        </p>
    </div>
    
    <div>
        <p>
            <asp:Button ID="btnSave" runat="server" Text="<%$ Resources:GlobalStrings, Save %>"
                CssClass="submitButton" OnClick="btnSave_Click" />
            <input id="btnCancel" type="button" value="<%=GlobalStrings.Cancel %>"
                class="submitButton" onclick="Cancel()" />
        </p>
    </div>
    
    <script type="text/javascript">
        var _hopDongId = <%=Request.Params["hopDongId"] %>;
        function Cancel() {
            window.location = 'KhoiLuong.aspx?hopDongId=' + _hopDongId + '#tabs-2';
        }

        $(function() {
            $("#<%=txtNgayChungTu.ClientID %>").calendar({ timeSeparators: null });
        });
    </script>
</asp:Content>
